package com.hs.load;

/**
 * @Author: hs
 * @Description:
 * @Date: Create in 11:38 2019/7/29
 */
public class SubClass extends SuperClass {


    public static Integer len = 0;

    static {
        System.out.println("子类初始化");
    }
    SubClass(){
        //子类的构造方法一定会调用父类的某个构造方法
        //平时没注意因为默认构造器，默认调用了，父类的默认构造器
        super("s");
        System.out.println("子类类构造器");
    }
}
